<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>javascript 作业</title>
	</head>
	<body>
		<script>
			document.write("<h1>您的信息如下：</h1>");
			var name='小莱';
			var age=22;
			var sex='男';
			var hy=1;
			var phone=null;
			var e;
			document.write("姓名："+name+'<br/>');
			document.write("年龄："+age+'<br/>');
			document.write("性别："+sex+'<br/>');
			document.write("婚否："+(hy==age)+'<br/>');
			document.write("邮箱："+phone+'<br/>');
			document.write("邮箱："+e+'<br/>');
			
		</script>
	</body>
</html>
